package io.renren.modules.job.task;

import io.renren.modules.sp.service.SpTicketService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * 生成参赛证件图:  参赛证图片、号码布
 * @author Mark sunlightcs@gmail.com
 */
@Component("GenerateCertificateHaomabuPicTask")
public class GenerateCertificateHaomabuPicTask implements ITask{
	private Logger logger = LoggerFactory.getLogger(getClass());

	@Autowired
	private SpTicketService spTicketService;

	@Override
	public void run(String str){
		logger.debug("TestTask定时任务正在执行，参数为：{}", str);
		Map<String, Object> params = new HashMap<>();
		spTicketService.generateHaomabuCertificatePic(params);
	}






}